<div class="parent">
    <h2>{{title}}</h2>

    <table>
        <tr>
            <td>Power: </td>
            <td><input [(ngModel)]="power"></td>
        </tr>
        <tr>
            <td>Hero.name: </td>
            <td><input [(ngModel)]="hero.name"></td>
        </tr>
    </table>
    <p><button (click)="reset()">Reset Log</button></p>

    <on-changes [hero]="hero" [power]="power"></on-changes>
</div>